[INFO] fetching crate advocat 3.0.0...
[INFO] fixing advocat-3.0.0 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate advocat 3.0.0 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate advocat 3.0.0
[INFO] finished tweaking crates.io crate advocat 3.0.0
[INFO] tweaked toml for crates.io crate advocat 3.0.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate advocat 3.0.0 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate advocat 3.0.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 154b6b7e719994e02308537d5dcda1092a94258889f802e2597984cdd4c8a917
[INFO] running `Command { std: "docker" "start" "154b6b7e719994e02308537d5dcda1092a94258889f802e2597984cdd4c8a917", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "154b6b7e719994e02308537d5dcda1092a94258889f802e2597984cdd4c8a917" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "154b6b7e719994e02308537d5dcda1092a94258889f802e2597984cdd4c8a917", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "154b6b7e719994e02308537d5dcda1092a94258889f802e2597984cdd4c8a917" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling libc v0.2.116
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling pkg-config v0.3.24
[INFO] [stderr]    Compiling cc v1.0.72
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]    Compiling crc32fast v1.3.1
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]    Compiling curl v0.4.42
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking regex-syntax v0.6.25
[INFO] [stderr]    Compiling quote v1.0.15
[INFO] [stderr]     Checking numtoa v0.1.0
[INFO] [stderr]     Checking exitcode v1.1.2
[INFO] [stderr]     Checking configparser v3.0.0
[INFO] [stderr]     Checking diff v0.1.12
[INFO] [stderr]    Compiling libz-sys v1.1.3
[INFO] [stderr]    Compiling openssl-sys v0.9.72
[INFO] [stderr]    Compiling curl-sys v0.4.52+curl-7.81.0
[INFO] [stderr]     Checking dirs-sys v0.3.6
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]     Checking directories v4.0.1
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]     Checking flate2 v1.0.22
[INFO] [stderr]     Checking termion v1.5.6
[INFO] [stderr]     Checking terminal_size v0.1.17
[INFO] [stderr]     Checking regex v1.5.4
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]     Checking thiserror v1.0.30
[INFO] [stderr]     Checking zip v0.5.13
[INFO] [stderr]     Checking advocat v3.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/compilation/template.rs (1 fix)
[INFO] [stderr]        Fixed src/fetch/connection_manager.rs (1 fix)
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/test_utils.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 |         if CONFIG.is_none() {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/test_utils.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |         CONFIG.clone().unwrap()
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.38s
[INFO] [stderr] crater-edition-check: advocat v3.0.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking advocat v3.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/problem.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Problem {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 11 |     pub id: String,
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Problem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SelfCleaningTmp` is never constructed
[INFO] [stdout]  --> src/test_utils.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct SelfCleaningTmp {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/test_utils.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl SelfCleaningTmp {
[INFO] [stdout]    | -------------------- associated function in this implementation
[INFO] [stdout] 13 |     pub fn new(module: &str, test_name: &str) -> SelfCleaningTmp {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/test_utils.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 |         if CONFIG.is_none() {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/test_utils.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |         CONFIG.clone().unwrap()
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `advocat` (lib test) due to 2 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "154b6b7e719994e02308537d5dcda1092a94258889f802e2597984cdd4c8a917", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "154b6b7e719994e02308537d5dcda1092a94258889f802e2597984cdd4c8a917", kill_on_drop: false }`
[INFO] [stdout] 154b6b7e719994e02308537d5dcda1092a94258889f802e2597984cdd4c8a917
